How to Deal with Encapsulation
نویسنده
چکیده
Encapsulation has received considerable interest in the context of object-oriented programming. In particular the encapsulation of objects that are composed through inheritance has been discussed repeatedly [Snyder 86, Micallef 88]. Aspect-oriented composition has similar considerations. However, most approaches to aspect-orientation or multi-dimensional composition of concerns do not enforce encapsulation of the implementation details of concerns. This might even lead to the impression that aspect-orientation conflicts with encapsulation. We claim that aspect-orientation and encapsulation are orthogonal, and that it is possible, and desirable, to enforce strong encapsulation in the presence of aspects. We illustrate this by giving an example and showing a (proposed) solution based on the composition filters model.
منابع مشابه
how to deal Baqie In Islamic Jurisprudence (Compliance with Islamic Penal Code)
Islamic regulations are the source of rebellious criminality that in Islamic Penal Code 1392 Separated from Moharebeh and became an independent criminal. Given that rebellious is a Specific and designated crime and punishable by death, the expectation, taking into account the principles of Islamic law, is to punish the criminals with great sensitivity. On this basis, the subject of this article...
متن کاملOPUS: A Calculus for Modelling Object-Oriented Concepts
We propose a very concise calculus for modelling object-oriented concepts such as objects, message sending, encapsulation and incremental modification. We show how to deal with recursion and provide some object-oriented examples. State and encapsulated inheritance are modelled by means of an incremental modification operator.
متن کاملA Comparison of Alternative Extensions for Data Modeling in VHDL
A number of proposals for object-oriented extensions to VHDL deal with object-oriented extensions to support high-level modeling of data. They provide features for expressing data abstraction, encapsulation, and inheritance with polymorphism— features that are central to object oriented techniques. There are two approaches to object-oriented data modeling: class-based and programming by extensi...
متن کاملAwareness of Radiological Accidents and How to Deal with It: A Study of Nurses and Nursing Faculties of Isfahan University of Medical Sciences
Introduction: Along with peaceful uses of ionizing radiation, its destructive applications have always threatened human life. One of the most important actions in calamities and disasters especially radiological and nuclear catastrophes is immediate assistance and medical care for victims. Therefore, knowing how to cope with nuclear and radiological disasters has become a part of modern care ed...
متن کاملAspect-Oriented Analysis: a MDA Based Approach
Actually, there are many approaches to deal with crosscutting concerns in early stages in software development. One is MDSOC, which promotes the encapsulation of all relevant kinds of concerns (dimensions) and their integration. MDSOC starts from an initial problem decomposition to design the system. No discussion about how this decomposition should be carried is presented. Based on this defici...
متن کامل